package cn.chousensei.chousenseiblog.enums;

public enum RegisterErrorEnum {
    ACCOUNT_ILLEGAL_INPUT("邮箱账户输入非法！"),
    ACCOUNT_EXIST("账户邮箱已存在！"),
    USERNAME_IS_NULL("用户名不能为空！"),
    PASSWORD_IS_NULL("两次输入密码不能为空！"),
    PASSWORD_DIFFERENT("两次输入密码必须一致！"),
    ;
    private String message;

    RegisterErrorEnum(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
